package es.udc.emarketapp.emarket.model.purchase.purchaseFacade.vo;

import es.udc.emarketapp.emarket.model.orderDetails.vo.OrderDetailsVO;
import java.io.Serializable;
import java.util.List;


public class OrderDetailsChunkVO implements Serializable {
	

	private static final long serialVersionUID = 1L;
	private List<OrderDetailsVO> orderDetailsVOs;
	private boolean existMoreOrders;
	
	public OrderDetailsChunkVO(List<OrderDetailsVO> orderDetailsVOs,
		boolean existMoreOrders) {
		
		this.orderDetailsVOs = orderDetailsVOs;
		this.existMoreOrders = existMoreOrders;
	}

	public List<OrderDetailsVO> getOrderDetailsVOs() {
		return orderDetailsVOs;
	}

	public boolean getExistMoreOrders() {
		return existMoreOrders;
	}

	public String toString() {
		return "OrderChunkVO [existMoreOrders=" + existMoreOrders
				+ ", OrderVOs=" + orderDetailsVOs + "]";
	}
	
	
		
}
